package cn.kgc.service;

import cn.kgc.entity.User;

import java.util.List;

public interface UserService {

    public List<User> getAllUser();
    public User getUserById(Integer id);
    public void addUser(User user);
    public void updateUser(User user);
    public void deleteUser(Integer id);

    public Integer countByName(String name);
    public List<User> getUserList(Integer pageNO,Integer pageSize);
}
